package cn.java68.service;

public class UserService {
    public boolean add(User u){
        System.out.println(u+"被增加到数据库了");
        return true;
    }
    public int del(int id){
        System.out.println("编号为"+id+"的学生被删除了");
        return 0;
    }

    public User get(int id){
        return new User(id,"刘"+id,20+id%10);
    }

}
